//
//
#ifndef Object2D_h__
#define Object2D_h__

#include "Stdafx.h"

namespace Geometric
{
	class Object2D
	{
	public:
		// default constructor
		Object2D(){}
		// destructor
		~Object2D(){}
		
	public:
		// interfaces: if the geometric object is valid
		inline virtual bool isValid() = 0;
		// interfaces: translate the object
		inline virtual void translate(double _x, double _y) = 0;
		// interfaces: rotate the object(counterclockwise)
		inline virtual void rotate(double _angle) = 0;
		// interfaces: scale the object
		inline virtual void scale(double _x, double _y) = 0;
	};
}
#endif